solving an absolute value equation